home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1843 / 1843.xpi / content / firebug / traceConsole.xul < prev    next >
Extensible Markup Language  |  2010-01-15  |  4KB  |  87 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css"?>
  3. <?xml-stylesheet href="chrome://global/skin/findBar.css" type="text/css"?>
  4. <?xml-stylesheet href="chrome://firebug/skin/traceConsole.css"?>
  5. <!DOCTYPE window [
  6. <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" >
  7. %browserDTD;
  8. <!ENTITY % findBarDTD SYSTEM "chrome://global/locale/findbar.dtd" >
  9. %findBarDTD;
  10. ]>
  11. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.         xmlns:html="http://www.w3.org/1999/xhtml"
  13.         id="TraceConsole" 
  14.         windowtype="FBTraceConsole" 
  15.         title="Firebug Trace Console"
  16.         width="640" height="480"
  17.         screenX="10" screenY="10"
  18.         persist="screenX screenY width height sizemode"
  19.         onload="TraceConsole.initialize()"
  20.         onunload="TraceConsole.shutdown()">
  21.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
  22.   <script type="application/x-javascript" src="chrome://global/content/findBar.js"/>
  23.   <script type="application/x-javascript" src="chrome://firebug/content/xpcom.js"/>
  24.   <script type="application/x-javascript" src="chrome://firebug/content/chrome.js"/>
  25.   <script type="application/x-javascript" src="chrome://firebug/content/traceConsole.js"/>
  26.   <script type="application/x-javascript" src="chrome://firebug/content/trace.js"/>
  27.   <stringbundle id="bundle_findBar" src="chrome://global/locale/findbar.properties"/>
  28.   <commandset id="mainCommandSet">
  29.     <command id="cmd_clearConsole" oncommand="TraceConsole.onClearConsole()"/>
  30.     <command id="cmd_find" oncommand="gFindBar.onFindCommand();"/>
  31.     <command id="cmd_findAgain" oncommand="gFindBar.onFindAgainCmd();"/>
  32.     <command id="cmd_findPrevious" oncommand="gFindBar.onFindPreviousCmd();"/>
  33.     <command id="cmd_separateConsole" oncommand="TraceConsole.onSeparateConsole();"/>
  34.     <command id="cmd_saveToFile" oncommand="TraceConsole.onSaveToFile();"/>
  35.     <command id="cmd_exitFirefox" oncommand="TraceConsole.onExitFirefox();"/>
  36.     <command id="cmd_restartFirefox" oncommand="TraceConsole.onRestartFirefox();"/>
  37.     <command id="cmd_copy" oncommand="goDoCommand('cmd_copy')" disabled="true"/>
  38.   </commandset>
  39.   <keyset id="mainKeyset">
  40.     <key id="key_find" key="&findOnCmd.commandkey;" command="cmd_find" modifiers="accel"/>
  41.     <key id="key_separateConsole" key="b" command="cmd_separateConsole" modifiers="accel"/>
  42.     <key id="key_saveToFile" key="s" command="cmd_saveToFile" modifiers="accel"/>
  43.     <key id="key_clearConsole" key="l" command="cmd_clearConsole" modifiers="accel"/>
  44.   </keyset>
  45.   <!-- Trace Console Toolbar -->
  46.   <toolbox id="consoleToolbox">
  47.     <toolbar id="consoleToolbar" align="center">
  48.       <toolbarbutton id="clearConsole"
  49.         label="tracing.cmd.Clear" class="toolbar-image-button"
  50.         tooltiptext="tracing.cmd.tip.Clear" 
  51.         command="cmd_clearConsole"/>
  52.       <toolbarbutton id="findConsole"
  53.         label="tracing.cmd.Find" class="toolbar-image-button"
  54.         tooltiptext="tracing.cmd.tip.Find" 
  55.         command="cmd_find"/>
  56.       <toolbarbutton id="separateConsole"
  57.         label="tracing.cmd.Bookmark" class="toolbar-image-button"
  58.         tooltiptext="tracing.cmd.tip.Bookmark" 
  59.         command="cmd_separateConsole"/>
  60.       <toolbarbutton id="saveToFile"
  61.         label="tracing.cmd.Save" class="toolbar-image-button"
  62.         tooltiptext="tracing.cmd.tip.Save" 
  63.         command="cmd_saveToFile"/>
  64.       <toolbarseparator flex="1"/>
  65.       <toolbarbutton id="restartFirefox"
  66.         label="tracing.cmd.Restart" class="toolbar-image-button"
  67.         tooltiptext="tracing.cmd.tip.Restart" 
  68.         command="cmd_restartFirefox"/>
  69.       <toolbarbutton id="closeFirefox"
  70.         label="tracing.cmd.Exit" class="toolbar-image-button"
  71.         tooltiptext="tracing.cmd.tip.Exit"
  72.         command="cmd_exitFirefox"/>
  73.     </toolbar> 
  74.   </toolbox>
  75.   <popupset id="mainPopupSet">
  76.     <popup id="fbContextMenu" onpopupshowing="return FirebugChrome.onContextShowing(event);" />
  77.     <tooltip id="fbTooltip" class="fbURLMenuItem" onpopupshowing="return FirebugChrome.onTooltipShowing(event);"/>
  78.   </popupset>
  79.   <vbox flex="1">
  80.     <browser id="consoleFrame" type="content-primary"
  81.              src="chrome://firebug/content/traceConsole.html" flex="1"
  82.              disablehistory="true" contextmenu="fbContextMenu"
  83.              tooltip="fbTooltip"/>
  84.     <findbar id="FindToolbar" browserid="consoleFrame"/>
  85.   </vbox>
  86. </window>
  87.